package com.tudouji.project.produce.domain;

import java.math.BigDecimal;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 报废明细对象 scrapapplyitem
 * 
 * @author tudouji
 * @date 2022-06-01
 */
public class Scrapapplyitem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String guid;

    /** 报废单ID */
    @Excel(name = "报废单ID")
    private String scrapapplyid;

    /** 库间id */
    @Excel(name = "库间id")
    private String shguid;

    /** 产品ID */
    @Excel(name = "产品ID")
    private String productid;

    /** 规格ID */
    @Excel(name = "规格ID")
    private String specguid;

    /** 报废重量 */
    @Excel(name = "报废重量")
    private BigDecimal weight;

    /** 报废金额 */
    @Excel(name = "报废金额")
    private BigDecimal amount;

    /** 单位名字 */
    @Excel(name = "单位名字")
    private String stockunit;

    /** 库存单位id */
    @Excel(name = "库存单位id")
    private Long stockunitid;

    private String product;
    private String spename;
    private String housename;

    private String[] scrapapplyids;

    public String getProduct() {
        return product;
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public String getSpename() {
        return spename;
    }

    public void setSpename(String spename) {
        this.spename = spename;
    }

    public String getHousename() {
        return housename;
    }

    public void setHousename(String housename) {
        this.housename = housename;
    }

    public String[] getScrapapplyids() {
        return scrapapplyids;
    }

    public void setScrapapplyids(String[] scrapapplyids) {
        this.scrapapplyids = scrapapplyids;
    }

    public void setGuid(String guid)
    {
        this.guid = guid;
    }

    public String getGuid() 
    {
        return guid;
    }
    public void setScrapapplyid(String scrapapplyid) 
    {
        this.scrapapplyid = scrapapplyid;
    }

    public String getScrapapplyid() 
    {
        return scrapapplyid;
    }
    public void setShguid(String shguid) 
    {
        this.shguid = shguid;
    }

    public String getShguid() 
    {
        return shguid;
    }
    public void setProductid(String productid) 
    {
        this.productid = productid;
    }

    public String getProductid() 
    {
        return productid;
    }
    public void setSpecguid(String specguid) 
    {
        this.specguid = specguid;
    }

    public String getSpecguid() 
    {
        return specguid;
    }
    public void setWeight(BigDecimal weight) 
    {
        this.weight = weight;
    }

    public BigDecimal getWeight() 
    {
        return weight;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setStockunit(String stockunit) 
    {
        this.stockunit = stockunit;
    }

    public String getStockunit() 
    {
        return stockunit;
    }
    public void setStockunitid(Long stockunitid) 
    {
        this.stockunitid = stockunitid;
    }

    public Long getStockunitid() 
    {
        return stockunitid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("scrapapplyid", getScrapapplyid())
            .append("shguid", getShguid())
            .append("productid", getProductid())
            .append("specguid", getSpecguid())
            .append("weight", getWeight())
            .append("amount", getAmount())
            .append("stockunit", getStockunit())
            .append("stockunitid", getStockunitid())
            .toString();
    }
}
